package com.hanter.demo.raddemo.tab;


import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import com.hanter.android.radwidget.LazyFragment;
import com.hanter.demo.raddemo.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class ThreeFragment extends LazyFragment {


    public ThreeFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_three, container, false);
    }

    @Override
    protected void onFirstUserVisible() {
        Log.d(TAG, "onFirstUserVisible");
    }

    @Override
    protected void onUserVisible() {
        Log.d(TAG, "onUserVisible");
    }

    @Override
    protected void onFirstUserInvisible() {
        Log.d(TAG, "onFirstUserInvisible");
    }

    @Override
    protected void onUserInvisible() {
        Log.d(TAG, "onUserInvisible");
    }

}
